package com.atstudy.headline.web.admin.service.impl;

import com.atstudy.headline.entity.ContentReviews;
import com.atstudy.headline.web.admin.mapper.ContentReviewsMapper;
import com.atstudy.headline.web.admin.service.ContentReviewsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @author A
 * @description 针对表【content_reviews(内容审核记录表)】的数据库操作Service实现
 * @createDate 2025-06-12 13:55:56
 */
@Service
public class ContentReviewsServiceImpl extends ServiceImpl<ContentReviewsMapper, ContentReviews>
        implements ContentReviewsService {

    @Override
    public List<ContentReviews> listReviewsWithRelations(Integer contentId, Integer reviewerId, Integer reviewStatus) {
        return this.baseMapper.selectReviewsWithRelations(contentId, reviewerId, reviewStatus);
    }
}